-- GENERATED SPELL FOR [Amani'shi Warrior] --


function spell0_24225(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(43519,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24225', 2298, 1)
end

function spell1_24225(pUnit, Event) --@Kick,n/a--
pUnit:FullCastSpellOnTarget(43518,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24225', 2324, 1)
end

function Sorts_24225(pUnit, Event)
local choix_sorts_24225 = math.random(0, 1)
if choix_sorts_24225 == 0 then
pUnit:RegisterEvent('spell0_24225', 1, 1)
end
if choix_sorts_24225 == 1 then
pUnit:RegisterEvent('spell1_24225', 1, 1)
end
end

function mob24225_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24225', math.random(1500, 3000), 1)
end

function mob24225_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24225_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24225_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24225, 1, 'mob24225_Action')
RegisterUnitEvent(24225, 2, 'mob24225_Leave')
RegisterUnitEvent(24225, 3, 'mob24225_Kill')
RegisterUnitEvent(24225, 4, 'mob24225_Die')
